<?php 
$userinfo = $this->ret['userinfo'];
$hasHeadImg = !($userinfo['headimg']==1?true:false);
$ctlist = $this->ret['cartoonList']['ROWS'];
?>
<div class="h_left">
      <div class="yhxx">
        <div class="yhtx bo"><img src="<?=member_util_avatar::get_avatar($this->uid,'mid',$hasHeadImg)?>"  /></div>
        <div class="dan">
        <h3 class="cl fw"><a href=""><?=$userinfo['username']?></a></h3>
          <dl class="yh_xi">
          <dt>地区</dt>
          <dd><?=$userinfo['r_province']."-".$userinfo['r_city']?></dd>
          </dl>
            <dl class="yh_xi">
          <dt>作品数</dt>
          <dd>35</dd>
          </dl>
          <dl class="yh_xi">
          <dt>画家档案</dt>
          <dd id="xxia">
          	<?=$userinfo['my_desc']?>
          </dd>
          </dl>
        </div>
        <div class="jhy">
        <?if(self::$login['uid']==$this->uid):?>
        <a href="<?=self::_makeURL('member','index','account')?>);">修改资料</a>
        <a href="<?=self::_makeURL('member','index','save_photo',array('reciever'=>$userinfo['username']))?>">上传头像</a>
        <?else:?>
        <a href="javascript:Friends.add(<?=$this->uid?>);">加好友</a>
        <a href="<?=self::_makeURL('sms','index','view_send_form',array('reciever'=>$userinfo['username']))?>">发短信</a>
        <a href="javascript:void(0);" onclick="Attention.add(<?=$this->uid?>);" >关注<?=member_util_setting::getThe($userinfo['gender_flag'])?></a>
        <?endif;?>
        </div>
      </div>      
      <h1 class="biaoti_a nlw_c" id="biaoti_a1"><span>漫画作品</span></h1>      
      <?if($ctlist):?>
      <?foreach ($ctlist as $list):?>
      <div class="tuijian nlw_c" id="h_mhlist">
     	<div class="zxpic"><a class="bo" href="http://www.<?=DOMAIN?><?=self::_makeURL('index','index','view',array('cid'=>$list['id']))?>"><img src="<?=cartoon_util_upload::getUrl($list['ct_cover'])?>" /></a></div>
    	<div class="zxcen" id="h_jj">
      	<h2><a class="cl fw" href="http://www.<?=DOMAIN?><?=self::_makeURL('index','index','view',array('cid'=>$list['id']))?>" title="<?=$list['ct_title']?>"><?=mb_strimwidth($list['ct_title'],0,60,'…','UTF-8')?></a></h2>
       	<h2>
       	
       	</h2>
      	<div id="neiron"><p><?=mb_strimwidth($list['ct_simple_desc'],0,100,'…','UTF-8')?></p></div>
          <h3><span>(<?=$list['ct_readed']?>人)读过</span><span>(<?=$list['ct_want_read']?>人)想读</span><span>(<?=$list['ct_comments']?>人)评论</span></h3>
          <h5 class="fenx" id="h_fenx"><span>分享到：</span><a target="_blank" href="http://share.renren.com/share/buttonshare?title=<?=$list['ct_title']?>&link=<?=str_replace('index.php','','http://www.'.DOMAIN.self::_makeURL('index','index','view',array('cid'=>$list['id'])))?>"><img src="http://www.<?=DOMAIN?>/images/renlg.jpg" width="16" height="16" /></a></h5>
          <span class="h_more bo"><a href="#">更多>></a></span>
     	</div>
      </div>
      <?endforeach;?>
      <?=$this->genPages($ctlist['INFO'])?>
      <?endif;?>
    </div>